<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CSS引入方式</title>
    <!-- 1.内嵌式 -->
    <style>
        h1,
        h2 {
            color: blue;
        }

        .p1 {
            color: brown;
        }

        #p2 {
            font-weight: bold;
            color: pink;
        }
    </style>
    <!-- 链接式 -->
    <link rel="stylesheet" href="style.css">

    <link rel="short icon" href="./img/ico1.png">
</head>

<body>
    <h1 style="color: red;">今天星期三</h1>
    <h2>今天有点冷</h2>
    <p class="p1">段落标签---1</p>
    <p id="p2">段落标签---2</p>
</body>

</html>